﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;


[CreateAssetMenu]
public class CardScriptable : ScriptableObject
{
    [Header("卡牌的基本属性")]
    public int cost;
    public int cardID;
    public float value;
    public float range;
    public string title;
    
    public Sprite image;
    public Sprite icon;

    public string description;
    public TargetType targetType;
    
    public AttackRangeType rangeType;

    public GameObject fxPrefab;
    public AttackType attackType;

    [Header("嵌套卡牌效果")]
    public List<Action> nextActions;
}
